package com.liuhengjia.aiknowledgebase.advisor;

import org.springframework.ai.chat.client.advisor.MessageChatMemoryAdvisor;
import org.springframework.ai.chat.memory.ChatMemory;

/**
 * 基于内存的会话记忆功能
 */
public class ChatMessageAdvisor extends MessageChatMemoryAdvisor {
    public ChatMessageAdvisor(ChatMemory chatMemory, String conversationId) {
        super(chatMemory, conversationId, 4000);
    }
}
